﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:UIKit.Controls">
    <Style TargetType="local:ImageWallContainer">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="local:ImageWallContainer">
                    <ScrollViewer x:Name="ListScroller"
                                  HorizontalContentAlignment="Center"
                                  VerticalContentAlignment="Top"
                                  Background="{TemplateBinding Background}"
                                  CacheMode="BitmapCache">
                        <Canvas x:Name="ItemsPanel" CacheMode="BitmapCache" VerticalAlignment="Top"/>
                        <!--
                            <StackPanel x:Name="ContainerStack" Orientation="Vertical">
                            
                            <TextBlock x:Name="TopFreshControl"
                            HorizontalAlignment="Center"
                            Foreground="Black"
                            Text="释放加载数据..."
                            Visibility="Collapsed" />
                            <ContentPresenter x:Name="HeaderContent"
                            CacheMode="BitmapCache"
                            Content="{TemplateBinding Header}"
                            ContentTemplate="{TemplateBinding HeaderTemplate}" />
                            
                            <TextBlock x:Name="BottomFreshControl"
                            HorizontalAlignment="Center"
                            Foreground="Black"
                            Text="加载中..."
                            Visibility="Collapsed" />
                            
                            </StackPanel>
                        -->
                    </ScrollViewer>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>